export const login = () =>{
    return new Promise((resolve,reject)=>{
        uni.login({
            success (res) {
                resolve(res);
            }
          })
    })
}